package com.lanou.elh.sysmanage.authority_management.mapper;

import com.lanou.elh.sysmanage.authority_management.entity.Permission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface PermissionMapper {
    List<Permission> selectAllPermission();

    void deletePermissonById(Integer id);

    void updatePermissonById(Permission permission);

    void addPermisson(Permission permission);
}
